package com.mc.bean;
/**
 * @Description 学生实体类
 * @author zh
 * @date 2023/2/11 11:48
 * @version 1.0
 */
public class Student {

    /**
     * 学生id
     */
    private int sid;

    /**
     * 学生名
     */
    private String sname;

    /**
     * 电话名
     */
    private String stel;

    /**
     * 密码
     */
    private String spassword;

    /**
     * 年龄
     */
    private int sage;

    /**
     * 性别
     */
    private String ssex;

    /**
     * 头像
     */
    private String sheadurl;

    /**
     * 学院id
     */
    private int colid;

    /**
     * 年级id
     */
    private  int gid;

    /**
     * 角色id
     */
    private int rid;

    public Student() {
    }

    public Student(int sid) {
        this.sid = sid;
    }

    public Student(String sname, String stel, String spassword, int sage, String ssex, String sheadurl, int colid, int gid) {
        this.sname = sname;
        this.stel = stel;
        this.spassword = spassword;
        this.sage = sage;
        this.ssex = ssex;
        this.sheadurl = sheadurl;
        this.colid = colid;
        this.gid = gid;
    }

    public Student(String sname, String stel, String spassword, int sage, String ssex, int colid, int gid) {
        this.sname = sname;
        this.stel = stel;
        this.spassword = spassword;
        this.sage = sage;
        this.ssex = ssex;
        this.colid = colid;
        this.gid = gid;
    }

    public Student(int sid, String sname, String stel, String spassword, int sage, String ssex, String sheadurl, int colid, int gid, int rid) {
        this.sid = sid;
        this.sname = sname;
        this.stel = stel;
        this.spassword = spassword;
        this.sage = sage;
        this.ssex = ssex;
        this.sheadurl = sheadurl;
        this.colid = colid;
        this.gid = gid;
        this.rid = rid;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", stel='" + stel + '\'' +
                ", spassword='" + spassword + '\'' +
                ", sage=" + sage +
                ", ssex='" + ssex + '\'' +
                ", sheadurl='" + sheadurl + '\'' +
                ", colid=" + colid +
                ", gid=" + gid +
                ", rid=" + rid +
                '}';
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getStel() {
        return stel;
    }

    public void setStel(String stel) {
        this.stel = stel;
    }

    public String getSpassword() {
        return spassword;
    }

    public void setSpassword(String spassword) {
        this.spassword = spassword;
    }

    public int getSage() {
        return sage;
    }

    public void setSage(int sage) {
        this.sage = sage;
    }

    public String getSsex() {
        return ssex;
    }

    public void setSsex(String ssex) {
        this.ssex = ssex;
    }

    public String getSheadurl() {
        return sheadurl;
    }

    public void setSheadurl(String sheadurl) {
        this.sheadurl = sheadurl;
    }

    public int getColid() {
        return colid;
    }

    public void setColid(int colid) {
        this.colid = colid;
    }

    public int getGid() {
        return gid;
    }

    public void setGid(int gid) {
        this.gid = gid;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }
}
